home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / migcmd / RCS / syscalls.c,v < prev    next >
Encoding:
Text File  |  1990-02-16  |  4.5 KB  |  164 lines

  1. head     1.2;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.2
  10. date     90.02.16.11.08.43;  author douglis;  state Exp;
  11. branches ;
  12. next     1.1;
  13.  
  14. 1.1
  15. date     88.12.06.13.49.43;  author douglis;  state Exp;
  16. branches ;
  17. next     ;
  18.  
  19.  
  20. desc
  21. @declaration of global variable listing names of system calls; this
  22. is used here and in sysstat (so far).
  23. @
  24.  
  25.  
  26. 1.2
  27. log
  28. @changed get/set IDs to be marked as local.
  29. @
  30. text
  31. @/* 
  32.  * syscalls.c --
  33.  *
  34.  *    File to declare system call names as a global array.
  35.  *
  36.  * Copyright 1988 Regents of the University of California
  37.  * Permission to use, copy, modify, and distribute this
  38.  * software and its documentation for any purpose and without
  39.  * fee is hereby granted, provided that the above copyright
  40.  * notice appear in all copies.  The University of California
  41.  * makes no representations about the suitability of this
  42.  * software for any purpose.  It is provided "as is" without
  43.  * express or implied warranty.
  44.  */
  45.  
  46. #ifndef lint
  47. static char rcsid[] = "$Header: /a/newcmds/migcmd/RCS/syscalls.c,v 1.1 88/12/06 13:49:43 douglis Exp Locker: douglis $ SPRITE (Berkeley)";
  48. #endif not lint
  49.  
  50.  
  51. #include "syscalls.h"
  52.  
  53. SysCallInfo sysCallArray[] = {
  54.     "Proc_Fork",        0,
  55.     "Proc_Exec",                0,
  56.     "Proc_Exit",                0,
  57.     "Sync_WaitTime",            1,
  58.     "Test_PrintOut",            1,    
  59.     "Test_GetLine",             1,
  60.     "Test_GetChar",             1,
  61.     "Fs_OpenStub",              1,
  62.     "Fs_ReadStub",              1,
  63.     "Fs_WriteStub",             1,
  64.     "Fs_UserClose",             1,
  65.     "Fs_RemoveStub",            1,
  66.     "Fs_RemoveDirStub",         1,
  67.     "Fs_MakeDirStub",           1,
  68.     "Fs_ChangeDirStub",         1,
  69.     "Proc_Wait",                0,
  70.     "Proc_Detach",              0,
  71.     "Proc_GetIDs",              1,
  72.     "Proc_SetIDs",              1,
  73.     "Proc_GetGroupIDs",         1,
  74.     "Proc_SetGroupIDs",         0,
  75.     "Proc_GetFamilyID",         0,
  76.     "Proc_SetFamilyID",         0,
  77.     "Test_RpcStub",             1,
  78.     "Test_StatsStub",           1,
  79.     "Vm_CreateVA",              1,
  80.     "Vm_DestroyVA",             1,
  81.     "Sig_UserSend",             0,
  82.     "Sig_Pause",                1,
  83.     "Sig_SetHoldMask",          1,
  84.     "Sig_SetAction",            1,
  85.     "Prof_Start",               1,
  86.     "Prof_End",                 1,
  87.     "Prof_DumpStub",            0,
  88.     "Vm_Cmd",                   0,
  89.     "Sys_GetTimeOfDay",         0,
  90.     "Sys_SetTimeOfDay",         0,
  91.     "Sys_DoNothing",            1,
  92.     "Proc_GetPCBInfo",          1,
  93.     "Vm_GetSegInfo",            1,
  94.     "Proc_GetResUsage",         0,
  95.     "Proc_GetPriority",         0,
  96.     "Proc_SetPriority",         0,
  97.     "Proc_Debug",               0,
  98.     "Proc_Profile",             0,
  99.     "Fs_TruncateStub",          1,
  100.     "Fs_TruncateIDStub",        1,
  101.     "Fs_GetNewIDStub",          1,
  102.     "Fs_GetAttributesStub",     1,
  103.     "Fs_GetAttributesIDStub",   1,
  104.     "Fs_SetAttributesStub",     1,
  105.     "Fs_SetAttributesIDStub",   1,
  106.     "Fs_SetDefPermStub",        1,
  107.     "Fs_IOControlStub",         1,
  108.     "Dev_VidEnable",            0,
  109.     "Proc_SetEnviron",          0,
  110.     "Proc_UnsetEnviron",        0,
  111.     "Proc_GetEnvironVar",       0,
  112.     "Proc_GetEnvironRange",     0,
  113.     "Proc_InstallEnviron",      0,
  114.     "Proc_CopyEnviron",         0,
  115.     "Sync_SlowLockStub",        1,
  116.     "Sync_SlowWaitStub",        1,
  117.     "Sync_SlowBroadcastStub",   1,
  118.     "Vm_PageSize",              1,
  119.     "Fs_HardLinkStub",          1,
  120.     "Fs_RenameStub",            1,
  121.     "Fs_SymLinkStub",           1,
  122.     "Fs_ReadLinkStub",          1,
  123.     "Fs_CreatePipeStub",        1,
  124.     "Vm_MapKernelIntoUser",     0,
  125.     "Fs_AttachDiskStub",        0,
  126.     "Fs_SelectStub",            1,
  127.     "Sys_Shutdown",             0,
  128.     "Proc_Migrate",             0,
  129.     "Fs_MakeDeviceStub",        1,
  130.     "Fs_CommandStub",           0,
  131.     "Fs_LockStub",              1,
  132.     "Sys_GetMachineInfo",     1,
  133.     "Net_InstallRoute",     0,
  134.     "Fs_ReadVector",         1,
  135.     "Fs_WriteVector",         1,
  136.     "Fs_CheckAccess",         1,
  137.     "Proc_GetIntervalTimer",     1,
  138.     "Proc_SetIntervalTimer",     1,
  139.     "Fs_FileWriteBackStub",    1,
  140.     "Proc_ExecEnv",        1,
  141.     "Fs_SetAttributes",        1,
  142.     "Fs_SetAttributesID",    1,
  143.     "Proc_GetHostIDs",        0,
  144. };
  145.  
  146. int sysCallArraySize = sizeof(sysCallArray);
  147. @
  148.  
  149.  
  150. 1.1
  151. log
  152. @Initial revision
  153. @
  154. text
  155. @d17 1
  156. a17 1
  157. static char rcsid[] = "$Header: proto.c,v 1.2 88/03/11 08:39:08 ouster Exp $ SPRITE (Berkeley)";
  158. d41 3
  159. a43 3
  160.     "Proc_GetIDs",              0,
  161.     "Proc_SetIDs",              0,
  162.     "Proc_GetGroupIDs",         0,
  163. @
  164.